//
//  DownloadCell.swift
//  DownloadTube
//
//  Created by Carlos on 11/10/14.
//  Copyright (c) 2014 Carlos. All rights reserved.
//

import UIKit

class DownloadCell: UITableViewCell {

    var downloadTaskIdentifier:String?
    
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var author: UILabel!
    @IBOutlet weak var downloadSize: UILabel!
    @IBOutlet weak var estimateTimeFinish: UILabel!
    @IBOutlet weak var progressBar: UIProgressView!
    @IBOutlet weak var progressPercent: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
        lookAndFeel()
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    private func lookAndFeel(){
        
        title.textColor = LookAndFeel.style.titleCellColor
        title.font = LookAndFeel.style.titleCellFont
        author.textColor = LookAndFeel.style.subtitleCellColor
        author.font = LookAndFeel.style.subtitleCellFont
        downloadSize.textColor = LookAndFeel.style.subtitleMiniCellColor
        downloadSize.font = LookAndFeel.style.subtitleMiniCellFont
        estimateTimeFinish.textColor = LookAndFeel.style.subtitleMiniCellColor
        estimateTimeFinish.font = LookAndFeel.style.subtitleMiniCellFont
        progressPercent.textColor = LookAndFeel.style.rojoOscuro
        progressPercent.font = UIFont(name: "Helvetica-Light", size: 30)
     }
    
}
